package edu.gdit.health;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
//SpringBoot主函数
//每次启动都会扫描同一级别的所有目录文件
@ImportResource(locations={"classpath:spring-common.xml"})

public class HealthApplication {

    public static void main(String[] args) {
//        SpringApplication.run(HealthApplication.class, args);
        //创建HealthAppLication类对象app
        SpringApplication app=new SpringApplication(HealthApplication.class);
        //设置不适用banner
//        app.setBannerMode(Banner.Mode.OFF);
        //启动应用程序
        app.run(args);
    }

}
